import { t } from '@/hooks/web/useI18n'

export const adminList = [
  //admin权限
  {
    path: '/dashboard',
    component: '#',
    redirect: '/dashboard/analysis',
    name: 'Dashboard',
    meta: {
      title: t('router.dashboard'),
      icon: 'ant-design:dashboard-filled',
      alwaysShow: true
    },
    children: [
      {
        path: 'analysis',
        component: 'views/Dashboard/Analysis',
        name: 'Analysis',
        meta: {
          icon: 'ion:arrow-redo-circle-sharp',
          title: t('router.analysis'),
          noCache: true,
          affix: true
        }
      },
      {
        path: 'workplace',
        component: 'views/Dashboard/Workplace',
        name: 'Workplace',
        meta: {
          title: t('router.workplace'),
          icon: 'ion:bag-sharp',
          noCache: true
        }
      }
    ]
  },
  {
    path: '/sysParameter',
    component: '#',
    redirect: '/sysParameter/origin/origin',
    name: 'sysParameter',
    meta: {
      title: t('router.systemParameter'),
      icon: 'eos-icons:role-binding',
      alwaysShow: true
    },
    children: [
      {
        path: 'origin',
        component: 'views/sysParameter/origin/origin',
        name: 'origin',
        meta: {
          icon: 'ion:compass',
          title: t('router.origin')
        }
      },
      {
        path: 'destination',
        component: 'views/sysParameter/destination/destination',
        name: 'destination',
        meta: {
          icon: 'ion:location-sharp',
          title: t('router.destination')
        }
      },
      {
        path: 'shippingOrderSettings',
        component: 'views/sysParameter/shippingOrderSettings/shippingOrderSettings',
        name: 'shippingOrderSettings',
        meta: {
          icon: 'eos-icons:abstract-instance',
          title: t('router.shippingOrderSettings')
        }
      },
      {
        path: 'packagingMaterials',
        component: 'views/sysParameter/packagingMaterials/packagingMaterials',
        name: 'packagingMaterials',
        meta: {
          icon: 'eos-icons:abstract-instance',
          title: '打包材料'
        }
      },
      {
        path: 'outboundCity',
        component: 'views/sysParameter/outboundCity/outboundCity',
        name: 'outboundCity',
        meta: {
          icon: 'ion:md-business',

          title: t('router.outboundCity')
        }
      },
      {
        path: 'CustomsClearanceFormCompany',
        component:
          'views/CustomsClearanceFormManage/CustomsClearanceFormCompany/CustomsClearanceFormCompany',
        name: 'CustomsClearanceFormCompany',
        meta: {
          icon: 'fluent-emoji-high-contrast:department-store',
          title: t('router.CustomsClearanceFormCompany')
        }
      },
      {
        path: 'CustomsClearanceFormCompanyAdd',
        component:
          'views/CustomsClearanceFormManage/CustomsClearanceFormCompany/CustomsClearanceFormCompanyAdd',
        name: 'CustomsClearanceFormCompanyAdd',
        meta: {
          title: t('CustomsClearanceFormCompany.CustomsClearanceFormCompanyAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/sysParameter/CustomsClearanceFormCompany'
        }
      },
      {
        path: 'CustomsClearanceFormCompanyEdit',
        component:
          'views/CustomsClearanceFormManage/CustomsClearanceFormCompany/CustomsClearanceFormCompanyEdit',
        name: 'CustomsClearanceFormCompanyEdit',
        meta: {
          title: t('CustomsClearanceFormCompany.CustomsClearanceFormCompanyEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/sysParameter/CustomsClearanceFormCompany'
        }
      },
      {
        path: 'distributionMarket',
        component: 'views/sysParameter/distributionMarket/distributionMarket',
        name: 'distributionMarket',
        meta: {
          icon: 'ion:storefront',

          title: t('router.distributionMarket')
        }
      },
      {
        path: 'transport',
        component: 'views/sysParameter/transport/transport',
        name: 'transport',
        meta: {
          icon: 'ion:md-subway',

          title: t('router.transport')
        }
      },
      {
        path: 'transportAdd',
        component: 'views/sysParameter/transport/transportAdd',
        name: 'transportAdd',
        meta: {
          title: t('router.transportAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/sysParameter/transport'
        }
      },
      {
        path: 'transportEdit',
        component: 'views/sysParameter/transport/transportEdit',
        name: 'transportEdit',
        meta: {
          title: t('router.transportEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/sysParameter/transport'
        }
      },
      {
        path: 'package',
        component: 'views/sysParameter/package/package',
        name: 'package',
        meta: {
          icon: 'ion:ios-upload',

          title: t('router.package')
        }
      },
      {
        path: 'productManagement',
        component: 'views/sysParameter/productManagement/productManagement',
        name: 'productManagement',
        meta: {
          icon: 'humbleicons:clipboard',

          title: t('router.productManagement')
        }
      },
      {
        path: 'exchangeRate',
        component: 'views/sysParameter/exchangeRate/exchangeRate',
        name: 'exchangeRate',
        meta: {
          icon: 'humbleicons:currency-dollar-circle',
          title: t('router.exchangeRate')
        }
      }
    ]
  },
  {
    path: '/personnelManagement',
    component: '#',
    name: 'personnelManagement',
    meta: {
      title: t('router.personnelManagement'),
      icon: 'ion:ios-contacts'
    },
    children: [
      {
        path: 'department',
        component: 'views/personnelManagement/department/department',
        name: 'department',
        meta: {
          icon: 'eos-icons:background-tasks',
          title: t('router.department')
        }
      },
      {
        path: 'consignee',
        component: 'views/personnelManagement/consignee/consigneeEntry',
        name: 'consignee',
        meta: {
          icon: 'ion:location-sharp',
          title: t('router.consignee')
        }
      },
      {
        path: 'packer',
        component: 'views/personnelManagement/packer/packer',
        name: 'packer',
        meta: {
          icon: 'ion:location-sharp',
          title: t('router.packer')
        }
      },
      {
        path: 'staff',
        component: 'views/personnelManagement/staff/staff',
        name: 'staff',
        meta: {
          icon: 'eos-icons:ai-operator',
          title: t('router.staff')
        }
      },
      {
        path: 'staffAdd',
        component: 'views/personnelManagement/staff/staffAdd',
        name: 'staffAdd',
        meta: {
          title: t('router.staffAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/staff'
        }
      },
      {
        path: 'staffEdit',
        component: 'views/personnelManagement/staff/staffEdit',
        name: 'staffEdit',
        meta: {
          title: t('router.staffEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/staff'
        }
      },
      {
        path: 'traveling',
        component: 'views/personnelManagement/traveling/traveling',
        name: 'traveling',
        meta: {
          icon: 'game-icons:chest',
          title: t('router.travelingEmployees')
        }
      },
      {
        path: 'rebateUsers',
        component: 'views/personnelManagement/rebateUsers/rebateUsers',
        name: 'rebateUsers',
        meta: {
          icon: 'eos-icons:data-scientist',
          title: t('router.rebateUsers')
        }
      },
      {
        path: 'rebateUsersAdd',
        component: 'views/personnelManagement/rebateUsers/rebateUsersAdd',
        name: 'rebateUsersAdd',
        meta: {
          title: t('router.rebateUsersAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/rebateUsersAdd'
        }
      },
      {
        path: 'customerManagement',
        component: 'views/personnelManagement/customerManagement/customerManagement',
        name: 'customerManagement',
        meta: {
          title: t('router.customerManagement'),
          icon: 'ion:md-person'
        },
        children: []
      },
      {
        path: 'loginUser',
        component: 'views/personnelManagement/loginUser/loginUser',
        name: 'loginUser',
        meta: {
          title: '登录用户管理',
          icon: 'ion:md-person'
        },
        children: []
      },
      {
        path: 'loginUserAdd',
        component: 'views/personnelManagement/loginUser/loginUserAdd',
        name: 'loginUserAdd',
        meta: {
          title: t('router.loginUserAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/loginUserAdd'
        }
      },
      {
        path: 'loginUserEdit',
        component: 'views/personnelManagement/loginUser/loginUserEdit',
        name: 'loginUserEdit',
        meta: {
          title: t('router.loginUserEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/loginUserEdit'
        }
      },
      {
        path: 'userGrouping',
        component: 'views/personnelManagement/userGrouping/userGrouping',
        name: 'userGrouping',
        meta: {
          title: '用户分组',
          icon: 'ion:md-person'
        },
        children: []
      },
      {
        path: 'userGroupingAdd',
        component: 'views/personnelManagement/userGrouping/userGroupingAdd',
        name: 'userGroupingAdd',
        meta: {
          title: '用户分组新增',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/userGrouping'
        }
      },
      {
        path: 'userGroupingEdit',
        component: 'views/personnelManagement/userGrouping/userGroupingEdit',
        name: 'userGroupingEdit',
        meta: {
          title: '用户分组编辑',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/userGrouping'
        }
      },
      {
        path: 'customerManagementEdit',
        component: 'views/personnelManagement/customerManagement/customerManagementEdit',
        name: 'customerManagementEdit',
        meta: {
          title: t('router.customerManagementEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/customerManagement'
        }
      },
      {
        path: 'customerManagementAdd',
        component: 'views/personnelManagement/customerManagement/customerManagementAdd',
        name: 'customerManagementAdd',
        meta: {
          title: t('router.customerManagementAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/personnelManagement/customerManagement'
        }
      }
    ]
  },
  {
    path: '/logistics',
    component: '#',
    name: 'Logistics',
    meta: {
      title: t('router.logistics'),
      icon: 'ion:boat'
    },
    children: [
      // {
      //   path: 'purchaseOrder',
      //   component: 'views/logistics/purchaseOrder/purchaseOrder',
      //   name: 'purchaseOrder',
      //   meta: {
      //     title: t('router.purchaseOrder'),
      //     icon: 'gridicons:clipboard'
      //   }
      // },
      // {
      //   path: 'purchaseOrderAdd',
      //   component: 'views/logistics/purchaseOrder/purchaseOrderAdd',
      //   name: 'purchaseOrderAdd',
      //   meta: {
      //     title: t('router.purchaseOrderAdd'),
      //     noTagsView: true,
      //     noCache: true,
      //     hidden: true,
      //     canTo: true,
      //     activeMenu: '/logistics/purchaseOrder'
      //   }
      // },
      // {
      //   path: 'purchaseOrderEdit',
      //   component: 'views/logistics/purchaseOrder/purchaseOrderEdit',
      //   name: 'purchaseOrderEdit',
      //   meta: {
      //     title: t('router.purchaseOrderEditing'),
      //     noTagsView: true,
      //     noCache: true,
      //     hidden: true,
      //     canTo: true,
      //     activeMenu: '/logistics/purchaseOrder'
      //   }
      // },
      // {
      //   path: 'purchaseOrderDetail',
      //   component: 'views/logistics/purchaseOrder/purchaseOrderDetail',
      //   name: 'purchaseOrderDetail',
      //   meta: {
      //     title: '采购单详情',
      //     noTagsView: true,
      //     noCache: true,
      //     hidden: true,
      //     canTo: true,
      //     activeMenu: '/logistics/purchaseOrder'
      //   }
      // },
      {
        path: 'warehousingEntry',
        component: 'views/logistics/warehousingEntry/warehousingEntry',
        name: 'warehousingEntry',
        meta: {
          title: t('router.warehousingEntry'),
          icon: 'gridicons:pages'
        }
      },
      {
        path: 'warehousingEntryEdit',
        component: 'views/logistics/warehousingEntry/warehousingEntryEdit',
        name: 'warehousingEntryEdit',
        meta: {
          title: t('router.warehousingEntryEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/warehousingEntry'
        }
      },
      {
        path: 'warehousingEntryDetail',
        component: 'views/logistics/warehousingEntry/warehousingEntryDetail',
        name: 'warehousingEntryDetail',
        meta: {
          title: '入库单详情',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/warehousingEntry'
        }
      },
      {
        path: 'warehousingEntryAdd',
        component: 'views/logistics/warehousingEntry/warehousingEntryAdd',
        name: 'warehousingEntryAdd',
        meta: {
          title: t('router.warehousingEntryAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/warehousingEntry'
        }
      },
      {
        path: 'invoice',
        component: 'views/logistics/Invoice/invoice',
        name: 'invoice',
        meta: {
          icon: 'pepicons-pop:cv',
          title: t('router.invoice')
        }
      },
      {
        path: 'invoiceAdd',
        component: 'views/logistics/Invoice/invoiceAdd',
        name: 'invoiceAdd',
        meta: {
          title: t('router.invoiceAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/invoice'
        }
      },
      {
        path: 'invoiceEdit',
        component: 'views/logistics/Invoice/invoiceEdit',
        name: 'invoiceEdit',
        meta: {
          title: '出库单编辑',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/invoice'
        }
      },
      {
        path: 'waitInvoice',
        component: 'views/logistics/waitInvoice/waitInvoice',
        name: 'waitInvoice',
        meta: {
          icon: 'pepicons-pop:cv',
          title: '待出库单'
        }
      },
      {
        path: 'waitInvoiceAdd',
        component: 'views/logistics/waitInvoice/waitInvoiceAdd',
        name: 'waitInvoiceAdd',
        meta: {
          title: '待出库单新增',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/waitInvoice'
        }
      },
      {
        path: 'waitInvoiceEdit',
        component: 'views/logistics/waitInvoice/waitInvoiceEdit',
        name: 'waitInvoiceEdit',
        meta: {
          title: '待出库单编辑',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/waitInvoice'
        }
      },
      {
        path: 'arrivalNote',
        component: 'views/logistics/arrivalNote/arrivalNote',
        name: 'arrivalNote',
        meta: {
          icon: 'pepicons-pop:cv',
          title: t('router.arrivalNote')
        }
      },
      {
        path: 'arrivalNoteAdd',
        component: 'views/logistics/arrivalNote/arrivalNoteAdd',
        name: 'arrivalNoteAdd',
        meta: {
          title: t('router.arrivalNoteAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/arrivalNote'
        }
      },
      {
        path: 'arrivalNoteEdit',
        component: 'views/logistics/arrivalNote/arrivalNoteEdit',
        name: 'arrivalNoteEdit',
        meta: {
          title: t('router.arrivalNoteEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/arrivalNote'
        }
      },
      {
        path: 'arrivalNoteEnd',
        component: 'views/logistics/arrivalNoteEnd/arrivalNoteEnd',
        name: 'arrivalNoteEnd',
        meta: {
          icon: 'pepicons-pop:cv',
          title: t('router.arrivalNoteEnd')
        }
      },
      {
        path: 'arrivalNoteEndAdd',
        component: 'views/logistics/arrivalNoteEnd/arrivalNoteEndAdd',
        name: 'arrivalNoteEndAdd',
        meta: {
          title: t('router.arrivalNoteEndAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/arrivalNoteEnd'
        }
      },
      {
        path: 'arrivalNoteEndEdit',
        component: 'views/logistics/arrivalNoteEnd/arrivalNoteEndEdit',
        name: 'arrivalNoteEndEdit',
        meta: {
          title: t('router.arrivalNoteEndEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/arrivalNoteEnd'
        }
      },
      {
        path: 'CustomsClearanceForm',
        component: 'views/CustomsClearanceFormManage/CustomsClearanceForm',
        name: 'CustomsClearanceForm',
        meta: {
          icon: 'fluent-emoji-high-contrast:clipboard',
          title: t('router.CustomsClearanceForm')
        }
      },
      {
        path: 'CustomsClearanceFormAdd',
        component: 'views/CustomsClearanceFormManage/CustomsClearanceFormAdd',
        name: 'CustomsClearanceFormAdd',
        meta: {
          title: t('router.CustomsClearanceFormAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/CustomsClearanceForm'
        }
      },
      {
        path: 'CustomsClearanceFormEdit',
        component: 'views/CustomsClearanceFormManage/CustomsClearanceFormEdit',
        name: 'CustomsClearanceFormEdit',
        meta: {
          title: t('router.CustomsClearanceFormEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/logistics/CustomsClearanceForm'
        }
      },
      {
        path: 'returnOrder',
        component: 'views/logistics/returnOrder/returnOrder',
        name: 'returnOrder',
        meta: {
          icon: 'pepicons-pop:cv',
          title: t('router.returnOrder')
        }
      },
      {
        path: 'distributionList',
        component: 'views/logistics/distributionList/distributionList',
        name: 'distributionList',
        meta: {
          icon: 'pepicons-pop:cv',
          title: t('router.distributionList')
        }
      }
    ]
  },
  {
    path: '/salesModule',
    component: '#',
    name: 'salesModule',
    meta: {
      title: '销售模块'
    },
    children: [
      {
        path: 'purchaseOrder',
        component: 'views/logistics/purchaseOrder/purchaseOrder',
        name: 'purchaseOrder',
        meta: {
          title: t('router.purchaseOrder'),
          icon: 'gridicons:clipboard'
        }
      },
      {
        path: 'purchaseOrderAdd',
        component: 'views/logistics/purchaseOrder/purchaseOrderAdd',
        name: 'purchaseOrderAdd',
        meta: {
          title: t('router.purchaseOrderAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/salesModule/purchaseOrder'
        }
      },
      {
        path: 'purchaseOrderEdit',
        component: 'views/logistics/purchaseOrder/purchaseOrderEdit',
        name: 'purchaseOrderEdit',
        meta: {
          title: t('router.purchaseOrderEditing'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/salesModule/purchaseOrder'
        }
      },
      {
        path: 'salesSlip',
        component: 'views/logistics/salesSlip/salesSlip',
        name: 'salesSlip',
        meta: {
          icon: 'pepicons-pop:cv',
          title: t('router.salesSlip')
        }
      },
      {
        path: 'salesSlipAdd',
        component: 'views/logistics/salesSlip/salesSlip',
        name: 'salesSlipAdd',
        meta: {
          title: t('router.salesSlipAdd'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/salesModule/salesSlip'
        }
      },
      {
        path: 'salesSlipEdit',
        component: 'views/logistics/salesSlip/salesSlipEdit',
        name: 'salesSlipEdit',
        meta: {
          title: t('router.salesSlipEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/salesModule/salesSlip'
        }
      }
    ]
  },
  {
    path: '/warehouseManagement',
    component: '#',
    name: 'warehouseManagement',
    meta: {
      title: t('router.warehouseManagement')
    },
    children: [
      {
        path: 'warehouseManagement',
        component: 'views/warehouseManagement/warehouseManagement',
        name: 'warehouseManagement',
        meta: {
          title: t('router.warehouseLocation'),
          icon: 'ion:ios-home'
        }
      },
      {
        path: 'warehouseManagementEdit',
        component: 'views/warehouseManagement/warehouseManagementEdit',
        name: 'warehouseManagementEdit',
        meta: {
          title: t('router.warehouseLocationEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/warehouseManagement/warehouseManagement'
        }
      },
      {
        path: 'warehouseGoods',
        component: 'views/warehouseGoods/warehouseGoods',
        name: 'warehouseGoods',
        meta: {
          title: t('router.warehouseGoods'),
          icon: 'ion:ios-home'
        }
      },
      {
        path: 'warehouseGoodsEdit',
        component: 'views/warehouseGoods/warehouseGoodsEdit',
        name: 'warehouseGoodsEdit',
        meta: {
          title: t('router.warehouseGoodsEdit'),
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/warehouseManagement/warehouseGoods'
        }
      }
    ]
  },
  {
    path: '/fixedAssetManagement',
    component: '#',
    name: 'fixedAssetManagement',
    meta: {},
    children: [
      {
        path: 'index',
        component: 'views/fixedAssetManagement/fixedAssetManagement',
        name: 'fixedAssetManagement',
        meta: {
          title: t('router.fixedAssetManagement'),
          icon: 'ion:pie-chart'
        }
      }
    ]
  },
  {
    path: '/financialModule',
    component: '#',
    name: 'financialModule',
    meta: {
      title: '财务模块'
    },
    children: [
      {
        path: 'financialManagement',
        component: 'views/financialModule/financialManagement/financialManagement',
        name: 'financialManagement',
        meta: {
          title: t('router.financialManagement'),
          icon: 'ion:invert-mode-outline'
        }
      },
      {
        path: 'salesReceipt',
        component: 'views/financialModule/salesReceipt/salesReceipt',
        name: 'salesReceipt',
        meta: {
          title: t('router.salesReceipt')
        }
      },
      {
        path: 'salesReceiptAdd',
        component: 'views/financialModule/salesReceipt/salesReceiptAdd',
        name: 'salesReceiptAdd',
        meta: {
          title: '销售收款单新增',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/financialModule/salesReceipt'
        }
      },
      {
        path: 'ShippingOrderReceipt',
        component: 'views/financialModule/ShippingOrderReceipt/ShippingOrderReceipt',
        name: 'ShippingOrderReceipt',
        meta: {
          title: '出库单收款单'
        }
      },
      {
        path: 'ShippingOrderReceiptAdd',
        component: 'views/financialModule/ShippingOrderReceipt/ShippingOrderReceiptAdd',
        name: 'ShippingOrderReceiptAdd',
        meta: {
          title: '出库单收款单新增',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/financialModule/ShippingOrderReceipt'
        }
      },
      {
        path: 'PurchasePaymentOrder',
        component: 'views/financialModule/PurchasePaymentOrder/PurchasePaymentOrder',
        name: 'PurchasePaymentOrder',
        meta: {
          title: '采购付款单'
        }
      },
      {
        path: 'PurchasePaymentOrderAdd',
        component: 'views/financialModule/PurchasePaymentOrder/PurchasePaymentOrderAdd',
        name: 'PurchasePaymentOrderAdd',
        meta: {
          title: '采购单付款单新增',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/financialModule/PurchasePaymentOrder'
        }
      },
      {
        path: 'DeliveryNotePaymentNote',
        component: 'views/financialModule/DeliveryNotePaymentNote/DeliveryNotePaymentNote',
        name: 'DeliveryNotePaymentNote',
        meta: {
          title: '出库单付款单'
        }
      },
      {
        path: 'DeliveryNotePaymentNoteAdd',
        component: 'views/financialModule/DeliveryNotePaymentNote/DeliveryNotePaymentNoteAdd',
        name: 'DeliveryNotePaymentNoteAdd',
        meta: {
          title: '出库单付款单新增',
          noTagsView: true,
          noCache: true,
          hidden: true,
          canTo: true,
          activeMenu: '/financialModule/DeliveryNotePaymentNote'
        }
      }
    ]
  },
  {
    path: '/error',
    component: '#',
    redirect: '/error/404',
    name: 'Error',
    meta: {
      title: t('router.errorPage'),
      icon: 'ci:error',
      alwaysShow: true
    },
    children: [
      {
        path: '404-demo',
        component: 'views/Error/404',
        name: '404Demo',
        meta: {
          icon: 'ooui:alert',
          title: '404'
        }
      },
      {
        path: '403-demo',
        component: 'views/Error/403',
        name: '403Demo',
        meta: {
          icon: 'ooui:alert',

          title: '403'
        }
      },
      {
        path: '500-demo',
        component: 'views/Error/500',
        name: '500Demo',
        meta: {
          icon: 'ooui:alert',

          title: '500'
        }
      }
    ]
  }
]
